<#include "/included/view_meta_global.ftl">
<body>
<div id="maxw">
<#include "/included/header_global.ftl">
<script>
shortcut.add("return",function() {$("#f").submit();});
function submitForm(){$("#f").submit();}
$(document).ready(function(){
	if(${user.sex?string}){
		$("#male").attr("checked", "checked");
	}else{
		$("#female").attr("checked", "checked");
	}
});
</script>

<div id="leftpart">
	<h1>${user.name}</h1>
	<form id=f name=users action="#" method=post>
		<input type=hidden name=id value=${user.id}>
		current place:<br><input type="text" name=current_place id="curp" value=${user.current_place?if_exists}><br><br>
		sex:<br><label for="male"><input type="radio" name="sex" value=true  checked="checked" id="male">male</label>&nbsp;<label for="female"><input type="radio" name="sex" value=false id="female">female</label><br><br>
		<input type="button" onClick="submitForm()" value="submit">
	</form>
</div>
<!-- 右半边 right side part -->
<div id="rightpart">
	<div><a href="/codebush/support/rss?uid=${user.id}" target="_blank"><img src="/codebush/resource/im/rss.png"></a><br>
		<a href="http://fusion.google.com/add?feedurl=" target="_blank"><img src="/codebush/resource/im/rss_google.gif"></a><br><br></div>
<#include "/included/rightside_global.ftl">
</div>
<!-- end 右半边  right side part -->

<!-- 底部 footer  -->
<#include "/included/footer_global.ftl">
<!-- end  底部 footer  -->
</div>
</body>
</html>